#include <stdio.h>
#define MAX 256

int main() {
    int a[MAX], size = 10, i, num;

    printf("Array: ");
    for (i = 0; i < size; i++) {
        a[i] = i * 2 + 1;
        printf("%d ", a[i]);
    }
    printf("\n");
    scanf("%d", &num);

    for (i = size; i > 0; i--) {
        if (a[i - 1] < num) {
            break;
        }
        a[i] = a[i - 1];
    }
    a[i] = num;
    printf("Inserted: ");
    for (i = 0; i < size + 1; i++) {
        printf("%d ", a[i]);
    }
    printf("\n");
    return 0;
}
